package events
{
	import flash.events.Event;
	import flash.filesystem.File;
	
	public class DirectoryEvent extends Event
	{
		//Define static constant
		public static const DIR_EVENT:String = "dirEvent";
		
		public var changedDir:File;
		
		public function DirectoryEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false,
										dirValue:File = null)
		{
			super(type, bubbles, cancelable);
			changedDir = dirValue;
		}
		
		override public function clone():Event
		{
			return new DirectoryEvent(type,bubbles,cancelable,changedDir);
		}
	}
}